<?php
namespace app\index\model;
use think\Model;
use think\Db;
use think\Cache;

class NavPackage extends Model
{
	public function getOneData( $id, $pack )
	{
		return self::field('price,original_price')
					->where('nav_id', $id)
					->where('pack_id', $pack)
					->find();
	}
}